home *** CD-ROM | disk | FTP | other *** search
- Path: horus.mch.sni.de!detlef
- From: detlef@graphics.ap.mchp.sni.de (Detlef Engelbrecht)
- Newsgroups: comp.lang.c++
- Subject: Re: Please help me to sort 'adjacent items'
- Date: 28 Mar 1996 16:20:52 GMT
- Organization: Siemens Nixdorf Informationssysteme AG
- Distribution: world
- Message-ID: <1996Mar28.171828@graphics.ap.mchp.sni.de>
- References: <4jebic$jn5@tst.hk.super.net>
- Reply-To: detlef@graphics.ap.mchp.sni.de (Detlef Engelbrecht)
- NNTP-Posting-Host: weismain.mch.sni.de
-
- Why don't you just sort it into two groups first, then sort these two
- groups?
-
- Actually, you do not even have to do that, just write your own little
- compare function and use it along with qsort.
-
- Seems straight forward to me.
-
- Detlef
- --
- Detlef Engelbrecht
- Siemens Nixdorf Informationssysteme AG, ASW BA DMS2
- 81739 Muenchen, Otto-Hahn-Ring 6, Germany
- E-mail: Detlef.Engelbrecht@mch.sni.de or detlef@isys.net
-